package main

import (
	"gitee.com/kristas/booting-go/framework/core/bean"
	"gitee.com/kristas/booting-go/framework/core/statement/types"
	"gorm.io/gorm"
)

type DomainGenerator struct {
	types.Component
	DB   *gorm.DB `db:"datasource"`
	lock *WdLock
	root string
}

func (d *DomainGenerator) Order() int {
	return 1
}

func (d *DomainGenerator) Async() bool {
	return false
}

func NewDomainGenerator(lock *WdLock) *DomainGenerator {
	return &DomainGenerator{lock: lock}
}

func (d *DomainGenerator) Init() error {
	return nil
}

func (d *DomainGenerator) Filter(bean bean.Bean) bool {
	return false
}

func (d *DomainGenerator) Do(bean bean.Bean) error {
	return nil
}
